InspireLabs\WoocommerceInpost\shipx\services\shipment\ShipX_Shipment_Service B

Total Complexity 89
Dependencies 17
Dependents 3
Total lines 644
Lines of code 419
Logical lines of code 266
Comment lines 109
Methods 16
Properties 0

Methods 16

Method Rating Maintainability Complexity Lines of code
create_shipment_object_by_shiping_data()
C
27
23 148
get_customer_service_name_by_id()
B
45 18 39
shipment_to_array()
A
48 7 37
get_table_attributes()
S
46 6 41
update_shipment_to_db()
S
55 6 19
get_shipment_by_order_id()
S
57 6 16
is_shipment_match_to_current_api()
S
58 5 18
is_courier_service()
S
57 2 20
is_service_id_courier_type()
S
58 2 18
get_services_key_value()
S
57 2 17
is_shipment_cancellable()
S
65 3 10
is_courier_sending_method()
S
69 2 8
is_pop_sending_method()
S
69 2 8
is_parcel_locker_sending_method()
S
69 2 8
getTrackingUrl()
S
68 2 8
get_customer_service_name()
S
76 1 4